package com.dgut.usermanager.dao;

import com.dgut.usermanager.entity.House;
import com.dgut.usermanager.entity.User;
import com.dgut.usermanager.entity.UserAccount;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;
@Repository
public interface HouseDao extends JpaRepository<House,Integer> {
    public House findHousesByUserId(Integer userId);
    public void deleteImageByUserId(Integer userId);
}
